package com.yyf.springboot2.mapper;

import com.yyf.springboot2.entity.TGoods;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.mybatis.spring.annotation.MapperScan;

import java.util.List;
import java.util.Map;

/**
 * <p>
  *  Mapper 接口
 * </p>
 *
 * @author yyf
 * @since 2019-05-29
 */

public interface TGoodsMapper extends BaseMapper<TGoods> {


    List<TGoods> selectIndexGoods(Map<String,Object> map);


    @Select("select * from t_goods")
    List<TGoods> allGoods();


}